package it.univaq.di.helpdesk.business.model;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

public class User implements Serializable {
	private int userID;
	private String username;
	private String password;
	private String email;
	private boolean enabled;
	
	private Set<Role> roles;
	private UserProfile profile;
	private Office office;
	private List<Device> device;
	
	public User() {
		super();
	}
	
	public User(int userID, String username, String password, String email,
			boolean enabled, Set<Role> roles, UserProfile profile, 
			Office office, List<Device> device) {
		super();
		this.userID = userID;
		this.username = username;
		this.password = password;
		this.email = email;
		this.enabled = enabled;
		this.roles = roles;
		this.profile = profile;
		this.office = office;
		this.device = device;
	}

	public int getUserID() {
		return userID;
	}
	public void setUserID(int userID) {
		this.userID = userID;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public boolean isEnabled() {
		return enabled;
	}
	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
	public Set<Role> getRoles() {
		return roles;
	}
	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}
	public void setProfile(UserProfile profile) {
		this.profile = profile;
	}
	public UserProfile getProfile() {
		return profile;
	}
	public void setOffice(Office office) {
		this.office = office;
	}
	public Office getOffice() {
		return office;
	}

	public void setDevice(List<Device> device) {
		this.device = device;
	}

	public List<Device> getDevice() {
		return device;
	}
}
